package com.gxa.client_shoppings.service.impl;

import com.gxa.client_shoppings.mapper.BasicMapper;
import com.gxa.client_shoppings.pojo.Basic;
import com.gxa.client_shoppings.service.BasicService;
import com.gxa.client_shoppings.utils.JsonResult;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author smile_ZhongXuan
 * @Date 2020/11/13 14:29
 * @Version 1.0
 */
@Service("basicService")
public class BasicServiceImpl implements BasicService {

    @Resource
    BasicMapper basicMapper = null;
    JsonResult jsonResult = new JsonResult();

    @Override
    public Integer basicSetUp(Basic basic) {
        return basicMapper.insertSelective(basic);
    }
}
